package com.zt.location.modules.base.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.zt.location.modules.base.dao.LongmendiaoDao;
import com.zt.location.modules.base.entity.LongmendiaoEntity;
import com.zt.location.modules.base.service.LongmendiaoService;



@Service("longmendiaoService")
public class LongmendiaoServiceImpl implements LongmendiaoService {
	@Autowired
	private LongmendiaoDao longmendiaoDao;
	
	@Override
	public LongmendiaoEntity queryObject(Integer id){
		return longmendiaoDao.queryObject(id);
	}
	
	@Override
	public List<LongmendiaoEntity> queryList(Map<String, Object> map){
		return longmendiaoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return longmendiaoDao.queryTotal(map);
	}
	
	@Override
	public void save(LongmendiaoEntity longmendiao){
		longmendiaoDao.save(longmendiao);
	}
	
	@Override
	public void update(LongmendiaoEntity longmendiao){
		longmendiaoDao.update(longmendiao);
	}
	
	@Override
	public void delete(Integer id){
		longmendiaoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		longmendiaoDao.deleteBatch(ids);
	}
	
}
